package com.jichangxiu.system.entity.bo;

import com.jichangxiu.system.entity.dto.SysTenantMenuDto;
import com.jichangxiu.system.entity.po.SysTenantMenu;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * SysTenantMenuBo:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:52
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@AutoMappers({
        @AutoMapper(target = SysTenantMenu.class, reverseConvertGenerate = false),
        @AutoMapper(target = SysTenantMenuDto.class, reverseConvertGenerate = false)
})
public class SysTenantMenuBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 菜单ID
     */
    private String menuId;

    /**
     * 特征
     */
    private String type;

    /**
     * 菜单开始时间
     */
    private Date startDate;

    /**
     * 菜单到期时间
     */
    private Date endDate;

}